package com.yanqu.road.entity.log.cross.newMonopolyMarket.log;

import com.yanqu.road.entity.DataObject;
import com.yanqu.road.entity.DataStatus;
import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_c_ck_new_monopoly_market_res_grab_rob_log_data",desc = "辽国王帐变更日志",autoSave = true,uploadCk = true,isCross = true)
public class NewMonopolyMarketResGrabRobLogData extends ServerBaseLog {
    @FieldTypeAnnotation(isIndex = true ,desc = "分组id")
    private long groupId;
    @FieldTypeAnnotation(desc = "周id",isIndex = true)
    private int weekId;
    @FieldTypeAnnotation(desc = "资源分组id")
    private long resGroupId;
    @FieldTypeAnnotation(desc = "占领的位置id")
    private int posIndex;
    @FieldTypeAnnotation(desc = "地图边长,计算坐标用")
    private int side;
    @FieldTypeAnnotation(desc = "位置等级")
    private int level;
    @FieldTypeAnnotation(desc = "类型 2王宫 3王帐")
    private int type;
    @FieldTypeAnnotation(desc = "剩余采集时间")
    private int remainTime;
    @FieldTypeAnnotation(desc = "位置上的玩家")
    private long userId;
    @FieldTypeAnnotation(desc = "位置上对象派遣的对象")
    private String objectStr = "";
    @FieldTypeAnnotation(desc = "战斗力总值")
    private long value;

    @FieldTypeAnnotation(desc = "被抢夺的结算收益 （被抢夺成功才有值）")
    private int rewardNum;

    @FieldTypeAnnotation(desc = "是否被抢夺")
    private boolean isWin;
    @FieldTypeAnnotation(desc = "操作类型：0:搜索占领；1撤回；2：挑战")
    private int actionType;

    @FieldTypeAnnotation(desc = "抢夺者id")
    private long robId;
    @FieldTypeAnnotation(desc = "抢夺者派遣的对象")
    private String robObjectStr = "";
    @FieldTypeAnnotation(desc = "抢夺者战斗力总值")
    private long robValue;

    @FieldTypeAnnotation(desc = "已占资源点")
    private String occupyStr = "";
    @FieldTypeAnnotation(desc = "入座收益")
    private int sitReward;


    public long getGroupId() {
        return groupId;
    }

    public void setGroupId(long groupId) {
        this.groupId = groupId;
    }

    public int getWeekId() {
        return weekId;
    }

    public void setWeekId(int weekId) {
        this.weekId = weekId;
    }

    public long getResGroupId() {
        return resGroupId;
    }

    public void setResGroupId(long resGroupId) {
        this.resGroupId = resGroupId;
    }

    public int getPosIndex() {
        return posIndex;
    }

    public void setPosIndex(int posIndex) {
        this.posIndex = posIndex;
    }

    public int getSide() {
        return side;
    }

    public void setSide(int side) {
        this.side = side;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getRemainTime() {
        return remainTime;
    }

    public void setRemainTime(int remainTime) {
        this.remainTime = remainTime;
    }

    @Override
    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public String getObjectStr() {
        return objectStr;
    }

    public void setObjectStr(String objectStr) {
        this.objectStr = objectStr;
    }

    public long getValue() {
        return value;
    }

    public void setValue(long value) {
        this.value = value;
    }

    public int getRewardNum() {
        return rewardNum;
    }

    public void setRewardNum(int rewardNum) {
        this.rewardNum = rewardNum;
    }

    public boolean isWin() {
        return isWin;
    }

    public void setWin(boolean win) {
        isWin = win;
    }

    public int getActionType() {
        return actionType;
    }

    public void setActionType(int actionType) {
        this.actionType = actionType;
    }

    public long getRobId() {
        return robId;
    }

    public void setRobId(long robId) {
        this.robId = robId;
    }

    public String getRobObjectStr() {
        return robObjectStr;
    }

    public void setRobObjectStr(String robObjectStr) {
        this.robObjectStr = robObjectStr;
    }

    public long getRobValue() {
        return robValue;
    }

    public void setRobValue(long robValue) {
        this.robValue = robValue;
    }

    public String getOccupyStr() {
        return occupyStr;
    }

    public void setOccupyStr(String occupyStr) {
        this.occupyStr = occupyStr;
    }

    public int getSitReward() {
        return sitReward;
    }

    public void setSitReward(int sitReward) {
        this.sitReward = sitReward;
    }


}
